/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package util;
/**
 *
 * @author Le Thai
 */

public class ClientSetting {
    private static String hostName="THAI\\MSSQLSERVER_2";
    private static String dbname="QLTH";
    private static String userName="sa";
    private static String password="12345";
    private static String choolName="Trường Tiểu Học ABC";
    private static String port="";
    //All other properties will be add later :)
    
    public static String getCurentYear(){
        return "2012-2013";
    }

    /**
     * @return the hostName
     */
    public static String getHostName() {
        return hostName;
    }

    /**
     * @param hostName the hostName to set
     */
    public void setHostName(String hostName) {
        ClientSetting.hostName = hostName;
    }

    /**
     * @return the dbname
     */
    public static String getDbname() {
        return dbname;
    }

    /**
     * @param dbname the dbname to set
     */
    public void setDbname(String dbname) {
        ClientSetting.dbname = dbname;
    }

    /**
     * @return the userName
     */
    public static String getUserName() {
        return userName;
    }

    /**
     * @param userName the userName to set
     */
    public void setUserName(String userName) {
        ClientSetting.userName = userName;
    }

    /**
     * @return the password
     */
    public static String getPassword() {
        return password;
    }

    /**
     * @param password the password to set
     */
    public void setPassword(String password) {
        ClientSetting.password = password;
    }

    /**
     * @return the choolName
     */
    public static String getChoolName() {
        return choolName;
    }

    /**
     * @param aChoolName the choolName to set
     */
    public static void setChoolName(String aChoolName) {
        choolName = aChoolName;
    }

    /**
     * @return the port
     */
    public static String getPort() {
        return port;
    }

    /**
     * @param aPort the port to set
     */
    public static void setPort(String aPort) {
        port = aPort;
    }
}
